import React from 'react';
import PropTypes from 'prop-types';
ListCell.propTypes = {
    label: PropTypes.any,
    icon: PropTypes.string,
    footer: PropTypes.any,
    onClick: PropTypes.func.isRequired
};
export default function ListCell(props) {
    return (
        <div className="weui-cell weui-cell_access" onClick={() => props.onClick()}>
            <div className="weui-cell__bd">
                <div>{props.label}</div>
            </div>
            <div className="weui-cell__ft" style={{ color: '#444444'}}>{props.footer}</div>
        </div>
    );
}
